package org.news.web.utils;

public class NewsBehavior {
    private String newsId;
    private boolean visited;
    private boolean liked;
    private boolean bookmarked;
    private boolean commented;

    public NewsBehavior(String newsId, boolean visited, boolean liked, boolean bookmarked,  boolean commented) {
        this.newsId = newsId;
        this.visited = visited;
        this.liked = liked;
        this.bookmarked = bookmarked;
        this.commented = commented;
    }

    public String getNewsId() {
        return newsId;
    }

    public boolean isVisited() {
        return visited;
    }

    public boolean isLiked() {
        return liked;
    }

    public boolean isBookmarked() {
        return bookmarked;
    }
    public boolean isCommented() {
        return commented;
    }
}

